import request from '@/utils/request'

//基本物品列表
export function allmaterials() {
  return request({
    url: '/entryWarehouse/base-information/all',
    method: 'get'
  })
}

//按名字模糊查询某件物品
export  function searchbyname(search) {
  return request({
    url: '/entryWarehouse/base-information/search',
    method: 'get',
    params: {
      search: search
    }
  })

}
